package com.bestcem.xm.deliver.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName ds_deliver_smsbalance
 */
@TableName(value = "ds_deliver_smsbalance")
@Data
@EqualsAndHashCode(callSuper = true)
public class DeliverSmsBalance extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 组织ID
     */
    @TableField(value = "org_id")
    private String orgId;

    /**
     * 账户code
     */
    @TableField(value = "code")
    private String code;

    /**
     * 账户余额
     */
    @TableField(value = "balance")
    private Integer balance;

    /**
     * 成功条数
     */
    @TableField(value = "success_number")
    private Integer successNumber;

    /**
     * 企业短信签名
     */
    @TableField(value = "signature")
    private String signature;

    /**
     * 版本：2为更新balance为int类型后
     */
    @TableField(value = "version")
    private Integer version;
}